package com.yzh.grainmall.seckill.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author yuzhen
 * @create 2021-11-14 19:56
 */
//开启异步任务功能
@EnableAsync
//开启定时任务功能
@EnableScheduling
@Configuration
public class MyScheduledConfig {
}
